package com.anivia.system.service.enums;
/**
 * <p>
 * 字典状态
 * </p>
 *
 * @author wangj
 */

import com.anivia.common.core.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Getter
public enum DictStatusEnum implements BaseEnum {
    AVAILABLE(1, "可用"),
    DISABLE(0, "禁用");

    private Integer code;
    private String desc;

    public String toString() {
        return name() + "-" + getDesc();
    }
}